## -*- Mode: python; py-indent-offset: 4; indent-tabs-mode: nil; coding: utf-8; -*-

def build(bld):
    mobility = bld.create_ns3_module('mobility', ['core', 'simulator'])
    mobility.source = [
        'hierarchical-mobility-model.cc',
        'mobility-model.cc',
        'position-allocator.cc',
        'rectangle.cc',
        'constant-position-mobility-model.cc',
        'constant-velocity-helper.cc',
        'constant-velocity-mobility-model.cc',
        'random-waypoint-mobility-model.cc',
        'random-walk-2d-mobility-model.cc',
        'random-direction-2d-mobility-model.cc',
        'constant-acceleration-mobility-model.cc',
        'waypoint.cc',
        'waypoint-mobility-model.cc',
        ]

    headers = bld.new_task_gen('ns3header')
    headers.module = 'mobility'
    headers.source = [
        'hierarchical-mobility-model.h',
        'mobility-model.h',
        'position-allocator.h',
        'rectangle.h',
        'constant-position-mobility-model.h',
        'constant-velocity-helper.h',
        'constant-velocity-mobility-model.h',
        'random-waypoint-mobility-model.h',
        'random-walk-2d-mobility-model.h',
        'random-direction-2d-mobility-model.h',
        'constant-acceleration-mobility-model.h',
        'waypoint.h',
        'waypoint-mobility-model.h',
        ]
